﻿using NUnit.Framework;
using Vk.Methods.Messages;
using Vk.Methods.News;
using Vk.Methods.Notes;

namespace UnitTests
{
    [TestFixture]
    public class NotesTests : TestsBase
    {
        [Test]
        public void GetTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("Get"));
        }

        [Test]
        public void GetByIdTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("GetById"));
        }

        [Test]
        public void AddTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("Add"));
        }

        [Test]
        public void EditTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("Edit"));
        }

        [Test]
        public void DeleteTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("Delete"));
        }

        [Test]
        public void GetCommentsTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("GetComments"));
        }

        [Test]
        public void CreateCommentTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("CreateComment"));
        }

        [Test]
        public void EditCommentTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("EditComment"));
        }

        [Test]
        public void DeleteCommentTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("DeleteComment"));
        }

        [Test]
        public void RestoreCommentTest()
        {
            IsSignatureUpdated(typeof(Notes).GetMethod("RestoreComment"));
        }
    }
}